import ListState from './list-state';

export default class ListMutation<T extends ListState<U>, U> {
    setCurrentPage(state: T, page: number) {
        state.currentPage = page;
    }

    setPageSize(state: T, pageSize: number) {
        state.pageSize = pageSize;
    }
}